package com.bwie.mapper;

import com.bwie.common.domain.Role;
import com.bwie.common.domain.User;
import com.bwie.common.domain.request.UserRequest;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @className: UserMapper
 * @Description: TODO
 * @version: v1.８.0
 * @author: 张雨乐
 * @date: 2025/9/27 20:02
 */
@Mapper
public interface UserMapper {
    User userLogin(UserRequest userRequest);

    List<Role> getRole(@Param("id") Integer id);

    List<User> getUser();


}
